package com.xbongbong.workflow.pojo.changerecord;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author: 汪腾伟
 * @date: Created in 2022/9/15 11:24
 * @description： 记录值更改前后记录
 */
@Getter
@Setter
public class ValuePojo implements Serializable {

    private static final long serialVersionUID = -4861155821717742324L;

    /**
     * 更改前的值
     */
    private Object beforeValue;

    /**
     * 更改后的值
     */
    private Object afterValue;

    public ValuePojo() {

    }

    public ValuePojo(Object beforeValue, Object afterValue) {
        this.beforeValue = beforeValue;
        this.afterValue = afterValue;
    }
}
